package com.zs.usc.service;

import com.zs.usc.entity.RelationInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 关联关系表 服务类
 * </p>
 *
 * @author ZS
 * @since 2021-12-11
 */
public interface IRelationService extends IService<RelationInfo> {

    /**
     * 判断用户是否具有某个应用的权限
     * @param uid 用户ID
     * @param appCode 应用标识
     * @return
     */
    boolean hasAppPerms(String uid, String appCode);
}
